import Vue from 'vue';
import 'normalize.css';
import Router from 'vue-router';
import element from 'element-ui';
import App from './App'; //  局部组件
import '../node_modules/element-ui/lib/theme-chalk/index.css';
import api from './http/api';
import { router } from './router';

Vue.prototype.api = api;

Vue.use(Router);
Vue.use(element);
/* eslint-disable no-new */
new Vue({
  render: h => h(App),
  router,
}).$mount('#app');
